﻿using DoveyOO.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoveyOO
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                var phone = new MiPhone()
                {
                    Name = "xiaoMi",
                    System = "Android",
                    Version = "V2.6"
                };
                phone.Start();
                phone.play();
                phone.Close();

                Console.ReadKey();
            }
            catch (Exception)
            {

                throw;
            }
           


        }
    }
}
